package com.qys.livesMall.shop.service;


import com.qys.livesMall.common.result.R;
import com.qys.livesMall.shop.modal.dto.shop.advert.AddAdvert;
import com.qys.livesMall.shop.modal.dto.shop.advert.EditAdvert;
import com.qys.livesMall.shop.modal.vo.ShopAdvertInfoVO;

import java.util.List;

/**
 * <p>
 * 店铺轮播广告信息 服务类
 * </p>
 *
 * @author
 * @since 2023-06-03
 */
public interface H2ShopAdvertInfoService  {

    /**
     * 获取列表
     * @param shopId
     * @return
     */
    List<ShopAdvertInfoVO> getAdvertInfo(Long shopId);


    /**
     * 获取列表
     * @param shopId
     * @return
     */
    List<ShopAdvertInfoVO> getAdvertInfoByApp(Long shopId);

    /**
     * 新增
     * @param addAdvert
     * @return
     */
    R add(AddAdvert addAdvert);

    /**
     * 编辑
     * @param editAdvert
     * @return
     */
    R edit(EditAdvert editAdvert);

    /**
     * 删除
     * @param id
     * @return
     */
    R del(Long id);
}
